package scsc.web.oa.receivefile.forms;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import scsc.web.system.AppActionForm;
import scsc.web.system.data.DocManageData;
import scsc.web.process.data.ArchivesNotionData;
import scsc.web.process.data.ReceiveFileData;

public class ReceiveFileForm extends AppActionForm {
	private static final long serialVersionUID = 1L;

	private ReceiveFileData data;

	private ReceiveFileData conditionData;

	private long tokenId;

	public long getTokenId() {
		return tokenId;
	}

	public void setTokenId(long tokenId) {
		this.tokenId = tokenId;
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
		data.reset();
		conditionData.reset();
	}

	public ReceiveFileForm() {
		super();
		data = new ReceiveFileData();
		conditionData = new ReceiveFileData();
	}

	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {

		ActionErrors errors = new ActionErrors();
		return errors;
	}

	public ReceiveFileData getConditionData() {
		return conditionData;
	}

	public void setConditionData(ReceiveFileData conditionData) {
		this.conditionData = conditionData;
	}

	public ReceiveFileData getData() {
		return data;
	}

	public void setData(ReceiveFileData data) {
		this.data = data;
	}
}
